package main

import (
	"fmt"
	"regexp"
)

const text = `my email is .ccmouse@gmail.com
 emails is abc@def.org
	emails is ddd@qq.com.cn

`

func main() {

	compile := regexp.MustCompile(`(\w+)@(\w+)(\.\w.+)`)

	findString := compile.FindAllStringSubmatch(text, -1)
	fmt.Println(findString)
}
